<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<form action="mailItemMessage.htm" method="post">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td>
				<div class="blue-text16" style="margin: 0px 0px 0px 0px">
					<s:text name="mail_auction_title" />
				</div>
				<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
				<div style="margin: 0px 0px 12px 0px">
				<table>
					<tbody>
						<tr>
							<td>
								<%
									out.print(session.getAttribute("msg"));
									session.setAttribute("msg", null);
								%>
							</td>
						</tr>
						<tr>
							<td>
								<table border="0" cellpadding="0" cellspacing="0" width="100%">
									<tbody>
										<tr>
											<td class="heding">
												<table border="0" cellpadding="0" cellspacing="0" width="100%">
													<tbody>
														<tr>
															<td style="color: rgb(30, 80, 180);" align="left">
																<font color="#000000" class="common-bold-text"><s:property value="item.title" /></font>												</td>

															<td align="right" class="common-bold-text" style="color: rgb(30, 80, 180);">
																<s:text name="item_id_label" />: <s:property value="item.itemId" />												</td>
														</tr>
													</tbody>
												</table>
											</td>
										</tr>
									</tbody>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<div align="center">
									<center>
										<table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tbody>
												<tr>
													<td align="center" width="100%">

														<table border="0" bordercolor="#e9f3bc" cellpadding="3"
															cellspacing="0" width="100%">
															<tbody>
																<tr>
																	<td align="center" bgcolor="#f0f0e1" width="100%">
																		<font color="#000000"
																			size="4" face="Tahoma, Arial, Times" class="common-bold-text"><s:property value="item.title" /></font>														</td>
																</tr>
															</tbody>
														</table>

														<table border="0" bordercolor="#e9f3bc" cellpadding="1"
															cellspacing="0" width="100%">
															<tbody>
																<tr>
																	<td width="100%" align="center" bgcolor="#dadab6" class="common-bold-text">
																		<b><s:text name="item_id_label" /></b> <s:property value="item.itemId" />
																		<!--Featured_Icon-->														</td>
																</tr>

															</tbody>
														</table>
														<table border="0" cellpadding="5" cellspacing="0"
															width="100%">
															<tbody>
																<tr>
																	<td nowrap="nowrap" width="20">&nbsp;

																  </td>
																	<td width="100%" align="center" valign="top" class="common-text">
																		<div style="margin: 0px 0px 20px 0px">
																		  <table border="0" bordercolor="#e9f3bc" cellpadding="2"
																			cellspacing="2" width="100%">
																		    <tbody>
																		      	<tr>
																		        	<td align="right" nowrap="nowrap" class="search-text">
																		          		<s:text name="current_bid_label" />
																		         	</td>
																				  	<td width="80%" class="common-text">
																				      <b><s:property value="item.currency.currency" /></b>&nbsp;<s:property value="item.currentBid" />
																				  	</td>
																			    </tr>
																		      <tr>
																		        	<td align="right" nowrap="nowrap" class="search-text">
																		          		<s:text name="bid_increment" />
																		         	</td>
																				  	<td class="common-text">
																				      	<s:property value="item.currency.currency" />&nbsp;<s:property value="item.currentBid" />
																				    </td>
																			    </tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="quantity_label" />
																		          	</td>
																				  	<td class="common-text">
																				      	<b><s:property value="item.quantity" /></b>
																					</td>
																			   	</tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="time_left_label" />
																		        	</td>
																				  	<td class="common-text">
																				      	<b><s:date name="item.endTime" nice="true" /></b> &nbsp;
																				    </td>
																			 	</tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="start_time_label" />
																		          	</td>
																				  	<td class="common-text">
																				      	<s:date name="item.startTime" format="EEEE, MMMM dd. yyyy HH:mm a" />
																				    </td>
																			 	</tr>
																			    <tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="end_time_label" />
																		          	</td>
																				  	<td class="common-text">
																				      	<s:date name="item.endTime" format="EEEE, MMMM dd. yyyy HH:mm a" />
																					</td>
																			    </tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="time_now_label" />
																		          	</td>
																				  	<td class="common-text">
																				      	<s:date name="item.currentTime" format="EEEE, MMMM dd. yyyy HH:mm a" />
																				   	</td>
																			    </tr>
																		      	<tr>
																		        	<td align="right" nowrap="nowrap" class="search-text">
																		          		<s:text name="starting_bid_lable" />
																		          	</td>
																				  	<td class="common-text">
																				      	<s:property value="item.currency.currency" />&nbsp;<s:property value="item.startBid" />
																				  	</td>
																			   	</tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="num_of_bids_label" />
																		          	</td>
																				  	<td class="common-text">
																				      	<b><s:property value="item.bids.size" /></b>
																				    </td>
																			  	</tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="addCompanyProfileToFavorite.location" />
																		          	</td>
																				  	<td class="common-text">
																				      	<b><s:property value="item.city" />, <s:property value="item.locationCategoriesByState.categoryName" /></b>
																				    </td>
																			    </tr>
																		      	<tr>
																		        	<td align="right" class="search-text">
																		          		<s:text name="lable.registration.country" />
																		          	</td>
																				  	<td class="common-text">
																				      	<b><s:property value="item.locationCategoriesByCountry.categoryName" /></b>
																				    </td>
																			    </tr>
																			</tbody>
																	  	</table>
																	  </div>
																	  	<s:text name="user_logged_in_message">
																			<s:param name="value" value="#attr.configuration.siteName" />
																			<s:param name="value" value="#session.user.userId" />
																			<s:param name="value" value="'logout.htm'" />
																			<s:param name="value" value="'login.htm'" />
																		</s:text>

																		<input name="item.itemId" value="<s:property value="item.itemId" />" type="hidden">

																		<table border="0" cellpadding="5" cellspacing="2">
																			<tbody>
																				<tr>
																					<td class="common-text" colspan="2">
																						<s:text name="mail_auction_help">
																							<s:param name="value" value="#attr.configuration.siteName" />
																						</s:text>
																				  </td>
																				</tr>
																				<tr>
																					<td align="left" class="common-text" colspan="2"><b class="common-bold-text">
																						<s:text name="friend_email_label" /><br /><input name="friendEmail" class="textfield" value="" size="40">
																				  </td>
																				</tr>
																				<tr>
																					<td class="common-bold-text" colspan="2">
																						<s:text name="optional_message_label" /><br />
																						<textarea name="message" cols="120" rows="10" class="textfield">
																							<s:text name="optional_message">
																								<s:param name="value" value="#attr.configuration.siteName" />
																							</s:text>
																						</textarea>
																				  </td>
																				</tr>
																				<tr>
																					<td align="right" width="50%">
																						<table border="0" cellspacing="0" cellpadding="0">
																							<tr>
																							  <td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
																							  <td class="btn-grey-middle1 "><input type="submit" name="Submit" value="Sent it now" class="submit-btn-common" /></td>
																							  <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
																							</tr>
																					  </table>
																				  </td>
																					<td align="left">
																						<table border="0" cellspacing="0" cellpadding="0">
																							<tr>
																							  <td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
																							  <td class="btn-grey-middle1 "><input type="reset" name="Submit" value="Reset" class="submit-btn-common" /></td>
																							  <td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
																							</tr>
																					  </table>
																					</td>
																				</tr>
																			</tbody>
																	  </table>
																  </td>
																</tr>
															</tbody>
														</table>
													</td>
												</tr>
											</tbody>
										</table>
									</center>
								</div>
							</td>
						</tr>
					</tbody>
				</table>
				</div>
			</td>
		</tr>
	</table>
</form>